@charset "UTF-8";
@import "./../fonts/Gilroy/stylesheet.css";
/* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@100..900&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

:root {
  --text-color: #1E1E1E;
  --text-muted: #8D8D8D;
  --text-card-dark-blue: #0D1B39;
  --accent: #E58411;
  --header-text-color: #fff;
  --footer-accent: #F6973F;
  --footer-bg: #2D2F33;
  --footer-text-color: rgba(255, 255, 255, 0.8);
  --ui-orang: #E58411;
  --ui-biruza: #00D6C9;
  --ui-gray: #7C7C7C;
  --ui-dark-blue: #0D1B39;
  --font-main: "Gilroy", sans-serif;
  --font-cards: "Inter", sans-serif;
  --font-footer-accent: "DM Sans", sans-serif;
}

/* используем SCSS миксин для медиазапроса retina (как, смотрим документацию SCSS). В этот миксин записываем весь медиазапрос. В параметр миксина передаем переменную, которую мы будем использовать (в нашем случае это будет картинка). Фильм, время 1:02:00
*/
html,
body {
  position: relative;
  font-family: var(--font-main);
  color: var(--text-color);
}

.container {
  max-width: 1310px;
  padding: 0 15px;
  margin: 0 auto;
}
.container--small {
  max-width: 1094px;
}

.none {
  display: none !important;
}

.header {
  position: relative;
  padding-top: 40px;
  background-color: var(--footer-bg);
  background-image: url("./../img/header/header-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1440/1084;
  color: var(--header-text-color);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header {
    background-image: url("./../img/header/header-bg@2x.jpg");
  }
}
.header a {
  color: var(--header-text-color);
}
@media (max-width: 630px) {
  .header {
    padding-top: 20px;
    padding-bottom: 240px;
    aspect-ratio: unset;
  }
}

.header__nav {
  margin-bottom: clamp(20px, -0.25rem + 7.5vw, 86px);
}

.header__content {
  text-align: center;
}

.header__title {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: clamp(26px, 0.398rem + 6.14vw, 80px);
  line-height: 130%;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.header__content p {
  margin: 0 auto;
  width: clamp(290px, 10.943rem + 35.91vw, 606px);
  font-size: clamp(12px, 0.477rem + 1.36vw, 24px);
  line-height: 160%;
  opacity: 0.8;
}

.header__search {
  margin: 45px auto 0;
}

.header__dot-sofa {
  position: absolute;
  top: 62.6142595978%;
  left: 20.1360544218%;
}

.header__dot-vase {
  position: absolute;
  top: 68.8584474886%;
  left: 7.3076923077%;
}

.header__dot-item {
  position: absolute;
  top: 71.61055505%;
  left: 55.6701030928%;
}

.header__dot-wall {
  position: absolute;
  top: 75.1371115174%;
  left: 95.2413793103%;
}

@media (max-width: 900px) {
  .header__dot-sofa,
.header__dot-vase,
.header__dot-item,
.header__dot-wall,
.header__search.search-form {
    display: none;
  }
}
.logo {
  font-weight: 700;
  font-size: clamp(18px, 0.898rem + 1.14vw, 28px);
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: #fff;
}

.nav {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 20px;
}

.nav__logo {
  align-self: center;
}

.nav__btn {
  display: none;
}
@media (max-width: 992px) {
  .nav__btn {
    display: block;
  }
}

.nav-list {
  justify-self: center;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
  font-weight: 500;
  font-size: 18px;
}
@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
}

.nav-list__item {
  position: relative;
}

.nav-list__link {
  transition: opacity 0.1s ease-in;
}
.nav-list__link:hover {
  opacity: 0.7;
}

.nav-list__link--dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list__link--dropdown::after {
  content: url(./../img/icons/arrow-down.svg);
  height: 18px;
}

.nav-list__sub-nav {
  opacity: 0;
  width: 160px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translate(0%, 50%);
  transition: all 0.2s ease-in;
}

.nav-list__item:hover .nav-list__sub-nav {
  pointer-events: all;
  opacity: 1;
  transform: translate(0%, 0%);
}

.sub-nav {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background-color: var(--footer-bg);
  font-size: 16px;
}
.sub-nav a {
  color: var(--footer-text-color);
  transition: color 0.1s ease-in;
}
.sub-nav a:hover {
  color: var(--accent);
}

.cart {
  position: relative;
  justify-self: end;
  align-self: center;
}

.cart__count {
  position: absolute;
  top: 3px;
  right: -6px;
  display: inline-block;
  height: 25px;
  padding: 0 6px;
  border-radius: 40px;
  background-color: var(--accent);
  font-family: var(--font-cards);
  font-weight: 700;
  line-height: 25px;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 344px;
  height: 56px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 20px;
  border: 0.86px solid rgba(255, 255, 255, 0.6);
  border-radius: 42px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
}

.search-form__input {
  flex-grow: 1;
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
}
.search-form__input::-moz-placeholder {
  color: rgb(255, 255, 255);
  opacity: 0.8;
}
.search-form__input:-ms-input-placeholder {
  color: rgb(255, 255, 255);
  opacity: 0.8;
}
.search-form__input::placeholder {
  color: rgb(255, 255, 255);
  opacity: 0.8;
}

.search-form__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 11px;
  border-radius: 24px;
  background: var(--accent);
}

.info-dot {
  position: relative;
  cursor: pointer;
}

.info-dot__circle {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.2s ease-in;
}

.info-dot__radius {
  width: 32px;
  height: 32px;
  border: 0.86px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  -webkit-animation: pulse 1s infinite alternate;
          animation: pulse 1s infinite alternate;
}

.info-dot:hover .info-dot__radius {
  -webkit-animation: pulse 1s infinite alternate paused;
          animation: pulse 1s infinite alternate paused;
}

.info-dot:hover .info-dot__circle {
  width: 18px;
  height: 18px;
  background-color: var(--accent);
}

@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.75);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.75);
  }
}
.info-hint {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 112px;
  height: 56px;
  padding: 12px 12px 20px 12px;
  background-image: url(./../img/icons/hint.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.info-hint__radio {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.info-hint__radio:checked + .info-hint__radio-fake {
  background-image: url(./../img/icons/checkbox.svg);
  background-repeat: no-repeat;
  background-position: center 1px;
}

.info-hint__radio-fake {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255);
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
  background-color: var(--ui-gray);
}
.info-hint__radio-fake--orange {
  background-color: var(--ui-orang);
}
.info-hint__radio-fake--biruza {
  background-color: var(--ui-biruza);
}

.benefits {
  padding: clamp(60px, 2.386rem + 6.82vw, 120px) 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 992px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 0.982rem + 4.46vw, 60px) 20px;
  }
}
@media (max-width: 630px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

.benefits__title {
  padding-top: 38px;
  max-width: 260px;
  font-size: clamp(32px, 1.702rem + 1.49vw, 42px);
  font-weight: 700;
}
@media (max-width: 992px) {
  .benefits__title {
    padding-top: 0;
  }
}

.benefit__title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  opacity: 0.9;
}

.benefit__text {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 185%;
  opacity: 0.8;
}

.benefit__link {
  display: inline-flex;
  gap: 13px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 185%;
}
.benefit__link::after {
  content: url(./../img/icons/arrow-right.svg);
  height: 24px;
}

.products {
  padding: 50px 0;
  background-color: #f7f7f7;
}

.products__title {
  margin-bottom: 32px;
  text-align: center;
  font-size: clamp(32px, 1.702rem + 1.49vw, 42px);
  font-weight: 700;
}

.products__tabs {
  margin-bottom: 80px;
  text-align: center;
}

.products__slider {
  margin-bottom: clamp(30px, 1.193rem + 3.41vw, 60px);
}
@media (max-width: 1440px) {
  .products__slider {
    padding: 0 30px;
  }
}

.products__link {
  text-align: center;
}

.products__link a {
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 185%;
}
.products__link a::after {
  content: url(./../img/icons/arrow-right.svg);
  height: 24px;
}

.tab-controls {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 44px;
  background: #eeeeee;
}

.tab-controls__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 84px;
  height: 45px;
  padding: 4px;
  border-radius: 32px;
  color: rgba(30, 30, 30, 0.8);
  font-size: 18px;
  font-weight: 500;
  line-height: 185%;
  transition: background-color 0.2s ease-in;
}
.tab-controls__btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.tab-controls__btn--active {
  background-color: #fff;
}
.tab-controls__btn--active:hover {
  background-color: #fff;
}

.card {
  position: relative;
  width: 268px;
  font-family: var(--font-cards);
}

.card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.card__photo {
  margin-top: 50px;
  height: 240px;
  background-color: #fafafa;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.card__img {
  margin-top: -50px;
}

.card__desc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 202px;
  padding: 14px 22px 28px;
  background-color: rgb(255, 255, 255);
  border-radius: 0 0 20px 20px;
}

.card__category {
  position: relative;
  z-index: 3;
  font-size: 16px;
  line-height: 20px;
  color: var(--text-muted);
}

.card__title {
  font-weight: 600;
  font-size: 21px;
  line-height: 26px;
  text-transform: capitalize;
  color: var(--text-card-dark-blue);
}

.card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.card__rating img {
  height: 18.28px;
}

.card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card__price {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  font-weight: 600;
  font-size: 21px;
  color: var(--text-card-dark-blue);
}
.card__price::before {
  content: attr(data-value);
  font-size: 15px;
}

.card__btn {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--ui-dark-blue);
  font-size: 0;
  transition: opacity 0.2s ease-in;
}
.card__btn:hover {
  opacity: 0.8;
}

.slider {
  position: relative;
}

.slider__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.06);
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__btn--prev {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

.slider__btn--next {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}

.footer {
  padding: clamp(60px, 2.432rem + 6.59vw, 118px) 0 56px;
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
}

.footer__grid {
  display: grid;
  grid-template-columns: 3fr 1fr 2fr 2fr 2fr;
  gap: 60px 20px;
  margin-bottom: clamp(60px, 2.432rem + 6.59vw, 118px);
}
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 4fr 1fr 3fr 3fr;
  }
}
@media (max-width: 630px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__desc p + p {
  margin-top: 1em;
}
@media (max-width: 630px) {
  .footer__desc {
    grid-column: 1/3;
  }
}

.footer__logo {
  margin-bottom: 29px;
}

.footer__text {
  font-weight: 500;
  font-size: 15px;
  line-height: 160%;
}

.footer__nav--services {
  grid-column-start: 3;
}
@media (max-width: 630px) {
  .footer__nav {
    grid-column-start: auto;
  }
}

.footer__nav-title {
  font-family: var(--font-footer-accent);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--footer-accent);
  margin-bottom: 20px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__list-item a {
  font-size: 15px;
  line-height: 160%;
  color: var(--footer-text-color);
  transition: opacity 0.1s ease-in;
}
.footer__list-item a:hover {
  opacity: 0.6;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 630px) {
  .footer__row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
}

.footer__copyright {
  font-family: var(--font-footer-accent);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0.5;
}

.footer__links {
  display: flex;
  gap: 40px;
}
@media (max-width: 630px) {
  .footer__links {
    gap: 20px;
    flex-wrap: wrap;
  }
}

.footer__link {
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
  color: var(--footer-text-color);
  transition: opacity 0.1s ease-in;
}
.footer__link:hover {
  opacity: 0.6;
}

.mobail-nav-wrapper {
  display: none;
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  right: 0;
  width: 320px;
  background-color: var(--footer-bg);
  padding: 30px 30px;
  color: var(--footer-text-color);
}
.mobail-nav-wrapper a {
  color: var(--footer-text-color);
  transition: color 0.1s ease-in;
}
.mobail-nav-wrapper a:hover {
  color: #fff;
}
.mobail-nav-wrapper--open {
  display: block;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.mobail-cart {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  font-size: 22px;
  font-weight: 500;
}

.mobail-nav {
  display: grid;
  gap: 20px;
  font-size: 22px;
}

.mobail-sub-nav {
  padding: 20px 0 0 20px;
  display: grid;
  gap: 14px;
  font-size: 16px;
}/*# sourceMappingURL=main.css.map */